package xf.tointinataface;

public class FlyprintInataface {
	public static onLoginClick mLoginClick;

	public interface onLoginClick {
		public void onLogin(int num);

		public void gone();

		public void setSize(int size);// 选中的数量

		public void isSelect(boolean select);// 是否全选

		public void ReloadProjectList();// 刷新首页项目列表

		public void finishMain();// 关闭当前界面

		public void ReloadAllmode();// 刷新所有模块首页(待验证)

		public void MoveSize(int size);
	}

	public static void onl(int num) {
		if (mLoginClick != null)
			mLoginClick.onLogin(num);
	}

	public static void g() {
		if (mLoginClick != null)
			mLoginClick.gone();
	}

	public static void size(int size) {
		if (mLoginClick != null)
			mLoginClick.setSize(size);
	}

	public static void select(boolean isSelect) {
		if (mLoginClick != null)
			mLoginClick.isSelect(isSelect);

	}

	public static void ReloadProjectList_onl() {
		if (mLoginClick != null)
			mLoginClick.ReloadProjectList();
	}

	public static void finishMain() {
		if (mLoginClick != null)
			mLoginClick.finishMain();
	}

	public static void ReloadAllmodeonl() {
		if (mLoginClick != null)
			mLoginClick.ReloadAllmode();
	}

	public static void MoveSizeonl(int size) {
		if (mLoginClick != null)
			mLoginClick.MoveSize(size);
	}

	public static void setmLoginClick(onLoginClick mLoginClick) {
		FlyprintInataface.mLoginClick = mLoginClick;
	}
}